package java_study;

import java.util.concurrent.*;

import static java.lang.Thread.sleep;

public class JucStudy {

    static class MyCallable implements Callable<String> {
        @Override
        public String call() throws Exception {
            sleep(5000);
            System.out.println("good boy");
            return "Result from Callable";
        }
    }
    public static void main(String[] args) throws ExecutionException, InterruptedException {
        System.out.println(String.valueOf(123.33F));
    }
}
